package com.dy.tieba.service;
import java.util.List;
import java.util.Map;
import com.dy.tieba.db.Posts;
import com.dy.tieba.db.TieBaPost;

public interface PostService {
	List<Posts> getPosts(String sql, int startPage, int pageSize, String order) throws Exception;
	List<TieBaPost> getTieBaPost(String sql, int startPage, int pageSize, String order) throws Exception;
	Map<String, Object> postTieba() throws Exception;
}
